const vmMonitor = weex.requireModule('vmMonitor')

const Monitor = Object.create(null)

Monitor.install = (Vue, options) => {
  Vue.prototype.$monitor = {
    openUrl(url) {
      vmMonitor.openUrl(url)
    }
  }
}

Vue.use(Monitor)
